package resturant;

import java.util.Iterator;
import java.util.TreeSet;

public class MenuCollection implements Iterable<MenuItem> 
{ 
	private TreeSet<MenuItem> Menu;

	public MenuCollection(TreeSet<MenuItem> _menu)
	{
		Menu = _menu;	
	}
	
    public Iterator<MenuItem> iterator() 
    {        
        Iterator<MenuItem> imenu = Menu.iterator();
        return imenu; 
    }

}